DX11 SET SAMPLER STATE COMPARISON FUNCTION

Sets the comparison function that is used to compare sampled data to existing sampled data.
Valid function values map directly to the D3D11_COMOPARISON_FUNC enumeration you can find described on MSDN.

  Syntax
DX11 SET SAMPLER STATE COMPARISON FUNCTION samplerState, comparisonFunc
  Parameters
samplerState
Dword
The sampler state to set the comparison function of.
comparisonFunc
Dword
The identifier of the comparison function to set for the given sampler state.

  Returns

This function does not return a value.

  See also

SAMPLERSTATE Functions Menu
DX11 Function Categories